package com.hometeacher.api.repository;

import com.hometeacher.api.model.TeacherList;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author ZhaoYuan
 * @data 08/04/2020 18:16
 */
public interface TeacherListRepository extends JpaRepository<TeacherList,Long> {
    public TeacherList findByUid(Long  uid);
    public TeacherList findByTeacherName(String  name);
}
